Repository navigation
docs(skills): objectstack-ui teaches one way to open a record from an object's list; navigation.mode is deprecated there (#35870) - #36302
Conversation
… object's list; navigation.mode is deprecated there The record-page rule's step 5, the navigation rule's Surface bullet, the evals README and record-page eval case 2 taught navigation.mode on a list view as the switch between the drawer and the full page. On main the key is deprecated on an object's list: the record's name opens the full page and the hover icon beside it opens the drawer; none still means rows open nothing; a page block still honours every value. Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Final green head · area a4-I · 2026-11-22T05:27Z |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5oVqoTJkrRZcyZS4xd 席位核对 — ACCEPT · head a485966
|
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Contract-review-claim: session_01FEkQ5kDGa1ViantgrfH797 · head a485966 · 2026-11-22T05:30Z |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Contract reviewServed-tier: Inputs read: card #35870 (body and its five comments, 7042487051 to 7074605644), PR #36302 (body, file list of five, net diff against ① Derived judgments
② Semver level
③ Boundary flagsDev flags:
Out-of-scope items the dev named:
SQL push-down: not applicable. The diff holds no query, no id materialisation and no join. Security: no changed hunk teaches permission, sharing, credential, authentication or other security behaviour. The ④ Design judgmentNo must-fix. S1 (should-fix) — the bundle's entry file still states the retired rule, against the three files this diff corrects.
The four
Nits, none of which moves the head:
The head does not land on this record: S1 is open and owes a delta review of its fix. Implemented-by: VERDICT: PASS |
… object's list is not authored Principle 5 still read "how a record opens is one list-view key", against the record-page rule's step 5. It now says the name opens the page and its hover icon the drawer, with nothing authored; the Where-to-go row for the record page no longer reads "drawer or page". The changeset names the file. Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Contract-review-claim: session_01FEkQ5kDGa1ViantgrfH797 · head f65f418 · 2026-11-22T06:12Z |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Contract reviewServed-tier: Delta review from Inputs read: card #35870 (body and its seven comments, 7042487051 to 7075067101), PR #36302 (body, file list of six, net diff against ① Derived judgments
② Semver level
③ Boundary flagsDev flags of the rework report (7075067101):
Out-of-scope items: the ADR-0050 §2 note rides card #36086; SQL push-down: not applicable. The diff holds no query, no id materialisation and no join. Security: no changed hunk teaches permission, sharing, credential, token, authentication or other security behaviour. Trap 4's RLS sentence is unchanged context above the ④ Design judgmentNo must-fix, no should-fix.
The new
Nits, none of which moves the head:
Nothing on this head owes a further delta review. Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Final green head (rework) · area a4-I · 2026-11-22T06:21Z |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5oVqoTJkrRZcyZS4xd 席位核对 — ACCEPT (delta) · head f65f418I read the delta from a485966 alone, after ACCEPT 7074789874. It is one fast-forward commit, f65f418, touching 2 files. Everything that record checked stands.
|
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv 席位核对Landing (low-risk skills arm, Tier S) · 2026-11-22T06:23Z · head
|
Requested by Leehom · project thread
Part of #35870
Clause-②: no
Metadata-protocol: none
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797
Part of, not a closing line: this PR is the skills half of the card. The card's other half, the dated add-only note on ADR-0050 §2, is not in this diff (nodocs/adr/**path); the claim proposes it as a row on the weekly ADR revisions card 36086, and the seat routes it.维护者速读
What changes
The source for every new sentence is the spec's own text on
origin/main: the[DEPRECATED]describe ofmodeinNavigationConfigSchema(packages/spec/src/ui/view.zod.ts) and the ADR-0087 D3 semantic entrynavigation-mode-record-open-deprecated. Ruling: the maintainer's 「废弃」 on the parent card (comment 7039654214).skills/objectstack-ui/rules/record-page.md, step 5. Was: the drawer unless the object declarespage, withnavigation: { mode: 'page' }on the list view as the way to the full page. Now: on an object's list the name opens the page and its hover icon the drawer;navigation.modeis deprecated there (drawer,page,new_windowchange nothing, so omit it);nonestill means rows open nothing (preferpreventNavigation: true); a page block'snavigationhonours every value. Themodal/split/popoverrefusal and "A phone always pages" stay.sizebucket stay.skills/objectstack-ui/rules/navigation.md, the Surface bullet of Record Presentation. Was: "A clicked record opens in the drawer, which expands to the full page;pageonly by declaration". Now the same one rule, pointing at Record Page steps 5 and 6.skills/objectstack-ui/evals/README.md: therecord-page.jsonsummary line names the new rule.skills/objectstack-ui/SKILL.md(rework round, contract review 7074880702 S1 and N3). Principle 5 was: "how a record opens is one list-view key". Now: how a record opens from an object's list is not authored (the name opens the page, its hover icon the drawer); the reader's-own-choices clause and the Record Page link stay. The Where-to-go row "drawer or page" now reads "how a record opens"..changeset/35870-navigation-mode-skills.md:@objectstack/skillspatch.Left as is, measured:
skills/objectstack-ui/references/react-blocks.mdline 61 (navigationon theListViewblock of akind: 'react'page) andrules/pages.mdline 218 (navigation={{ mode: 'none' }}on a block): a page block still honours every value of the key, so neither teaches the retired meaning.react-blocks.mdis generator-owned.Evals
skills/objectstack-ui/evals/record-page.json, case 2 only; id and prompt unchanged ("Contracts should open as a full page, not the side drawer. Reps also keep asking for records to open beside the list").expected_output: nothing to author. The record's name opens the full page and the hover icon beside it opens the drawer over the list;navigation.modeis deprecated on an object's list, so the contract list view declares neitherpagenordrawer; a pane beside the list is not offered (split,modal,popoverare refused).must_contain:navigation: { mode: 'page' }andDisplay menuare replaced byicon, the one word an answer that knows the rule has to use and that the bundle teaches ("hover icon").must_not_contain: adds the two code spellings of the declaration,mode: 'page' },andmode: 'page',, following the file's own convention for a forbidden declaration (cases 1 and 5 forbid a key with its trailing comma or brace), so an answer that names the key as the thing to omit is not failed. The three retired values anddefinePage(stay.No eval round was run (a round is the eval seat's). Both token lists changed, so earlier records of this case are set apart on a regrade.
Tests
Round-one readings below are at head
a48596646, merge base76cb36661. Rework headf65f4181d(SKILL.md and the changeset only): token ratchet exit 0,skills/objectstack-ui/SKILL.md2186 tokens (ceiling 2272), no ceiling row moved;dispatch-gates.mjs --ran: 50 derived, 48 run, 2 NOT MEASURED (whole-workspace build), 0 UNRUN; overlap-check clean against8925d5bcb. No eval file moved aftera48596646, where the skill-evals test passed 38 of 38. Rework report: card comment 7075067101.Token ratchet, size and line budget
node scripts/check-skills-token-ratchet.mjs: exit 0.skills/objectstack-ui/rules/record-page.md is 988 tokens (ceiling 991; headroom 3);skills/objectstack-ui/rules/navigation.md is 2554 tokens (ceiling 2564; headroom 10). No ceiling row moved.rules/record-page.md: 64 lines before and after; 3951 to 3952 bytes; 988 tokens before and after. The added sentences are paid in the same file by the removedmode: 'page'sentence, the step 5 aside "(always the standard page)" (step 4 already says the drawer draws the standard page) and the two step 6 items.rules/navigation.md: 191 lines before and after; 10219 to 10216 bytes; 2555 to 2554 tokens.evals/README.md: 54 lines before and after; 637 to 636 tokens.evals/record-page.json: 117 to 118 lines; 1834 to 1826 tokens.SKILL.mdsummed: 4947 lines before and after (none touched). Bundle total 289859 to 289849 tokens; ratcheted authored total 197477 to 197476; eval fixtures 77775 to 77766.git diff --shortstatagainst the merge base, changeset included): 27 added, 13 deleted, net +14. Budget 20.Gates run locally
node scripts/pm/dispatch-gates.mjs --commands, 47 commands), each run underscripts/pm/os-verify-lock.sh, each exit code captured before any pipe: 43 exit 0.check:doc-formula-expressionsfirst answered exit 3 (prerequisite), and exit 0 afterturbo run buildof@objectstack/formulaand@objectstack/lint.node scripts/pm/dispatch-gates.mjs --ran:47 derived, 43 run, 4 NOT-MEASURED, 0 UNRUN. NOT MEASURED, exit 3PREREQUISITE NOT MET, each asks for a whole-workspacepnpm buildand reads builtdist/trees this diff cannot move (declared narrowing, left to CI):check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure,check:sourcemap-no-sources-content.pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2 test/skill-evals/skill-evals.test.ts, after building that package's dependency closure:Test Files 1 passed (1),Tests 38 passed (38), lock verdictcommand-exit 0. The first attempt, before the closure build, loaded no test (unresolved workspace entry): not a reading.pnpm --filter @objectstack/scenarios run skill-evals --dry-run --skills objectstack-ui: exit 0,objectstack-ui: 47 case(s), no case refused,dry run: no login read, no model called, nothing written.pnpm check:changeset-fixedexit 0,pnpm check:skill-top-level-keysexit 0.pnpm --filter @objectstack/spec run check:skill-examples, exit 3 (prerequisite); outside the derived list, and the fenced example blocks of both rule files are byte-identical to the merge base.node scripts/pm/overlap-check.mjs --branch=claude/issue-35870-navigation-mode-skillsagainstorigin/mainb57f778b1:VERDICT clean exit 0, 0 PR heads share a file.No ablation: the diff changes prose and an eval fixture, no tested behaviour.
Acceptance notes
rules/navigation.mdis added to it: its Surface bullet taught the same retired rule ("pageonly by declaration") and the card's grep words do not reach it.references/react-blocks.mdis on the claim's list as "measure" and is unchanged.sizedescribe in the same schema does too.openNewTab: true(the spec's replacement for a list that declarednew_window) is not taught here: the bundle never taughtnew_windowon a list, and themodedescribe this text follows does not carry it. Noted, not filed.ui/packages/app-shell/src/views/objectViewRecordNavigation.tsline 34: a doc comment still names the reader's Open records preference, which no longer exists. A comment, noted, not filed.ui/scripts/check-skill-eval-tokens.mjslists no row forskills/objectstack-ui(its bundle root isskills/objectui), so no gate holds this bundle'smust_containtokens to its own markdown; checked by hand here (iconis taught inrules/record-page.mdstep 5). An observation, noted, not filed.Verification
Read first, by risk:
skills/objectstack-ui/rules/record-page.md, the step 5 hunk: every clause against the[DEPRECATED]describe ofmodeinpackages/spec/src/ui/view.zod.ts.skills/objectstack-ui/evals/record-page.json, case 2: the singlemust_containtoken and the two forbidden code spellings.skills/objectstack-ui/rules/navigation.md, the Surface bullet: the one hunk outside the claim's file list.Two-minute check:
git grep -n "mode: 'page'" -- skills/objectstack-ui/rules skills/objectstack-ui/evalsprints two lines, both inevals/record-page.jsonunder case 2'smust_not_contain; no rule file teaches the declaration.Generated by Claude Code